package hibari.server.lib;

public class FileData {
    private String filename;
    private byte[] data;

    public FileData(String filename, byte[] data) {
        super();
        this.filename = filename;
        this.data = data;
    }

    public String getFilename() {
        return this.filename;
    }

    public byte[] getData() {
        return this.data;
    }

    public boolean isSet() {
        return this.data != null && this.data.length > 0;
    }
}
